package com.eattravel.pojo;

import java.util.Date;

public class User {
    private Long id;

    private String userId;

    private String userPassword;

    private Boolean userState;

    private String userPhone;

    private String userLocation;

    private Byte userSex;

    private Byte userAge;

    private Date userBirthday;

    private Byte userVipGrade;

    private String userHeadphoto;

    private String userProfessional;

    private String userEmail;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public Boolean getUserState() {
        return userState;
    }

    public void setUserState(Boolean userState) {
        this.userState = userState;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }

    public String getUserLocation() {
        return userLocation;
    }

    public void setUserLocation(String userLocation) {
        this.userLocation = userLocation == null ? null : userLocation.trim();
    }

    public Byte getUserSex() {
        return userSex;
    }

    public void setUserSex(Byte userSex) {
        this.userSex = userSex;
    }

    public Byte getUserAge() {
        return userAge;
    }

    public void setUserAge(Byte userAge) {
        this.userAge = userAge;
    }

    public Date getUserBirthday() {
        return userBirthday;
    }

    public void setUserBirthday(Date userBirthday) {
        this.userBirthday = userBirthday;
    }

    public Byte getUserVipGrade() {
        return userVipGrade;
    }

    public void setUserVipGrade(Byte userVipGrade) {
        this.userVipGrade = userVipGrade;
    }

    public String getUserHeadphoto() {
        return userHeadphoto;
    }

    public void setUserHeadphoto(String userHeadphoto) {
        this.userHeadphoto = userHeadphoto == null ? null : userHeadphoto.trim();
    }

    public String getUserProfessional() {
        return userProfessional;
    }

    public void setUserProfessional(String userProfessional) {
        this.userProfessional = userProfessional == null ? null : userProfessional.trim();
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }


    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userId='" + userId + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userState=" + userState +
                ", userPhone='" + userPhone + '\'' +
                ", userLocation='" + userLocation + '\'' +
                ", userSex=" + userSex +
                ", userAge=" + userAge +
                ", userBirthday=" + userBirthday +
                ", userVipGrade=" + userVipGrade +
                ", userHeadphoto='" + userHeadphoto + '\'' +
                ", userProfessional='" + userProfessional + '\'' +
                ", userEmail='" + userEmail + '\'' +
                '}';
    }
}